//
//  UITextField+Padding.m
//  zjhealth
//
//  Created by zjjk on 2018/6/17.
//  Copyright © 2018年 amu. All rights reserved.
//

#import "UITextField+Padding.h"

@implementation UITextField (Padding)

//- (void)setPaddingLeft:(float)left right:(float)right top:(float)top bottom:(float)bottom {
//    
//    
//    
//    _isPaddingEnable = YES;
//    _paddingLeft = left;
//    _paddingRight = right;
//    _paddingTop = top;
//    _paddingBottom = bottom;
//}
//
//- (CGRect)textRectForBounds:(CGRect)bounds {
//    if (_isPaddingEnable) {
//        return CGRectMake(bounds.origin.x + _paddingLeft, bounds.origin.y + _paddingTop, bounds.size.width - _paddingRight, bounds.size.height - _paddingBottom);
//    } else {
//        return bounds;
//    }
//}
//
//- (CGRect)editingRectForBounds:(CGRect)bounds {
//    return [self textRectForBounds:bounds];
//}

@end
